module.exports = {
  lintOnSave: false,
  publicPath: "./",
  devServer: {
    port: 8081,
    proxy:"http://localhost:8080"
  },
  //修改或新增html-webpack-plugin的值，在index.html里面能读取htmlWebpackPlugin.options.title
  chainWebpack: config =>{
    config.plugin('html')
      .tap(args => {
        args[0].title = "RBAC通用权限管理系统";
        return args;
      })
  }
}